﻿using UnityEngine;
using System.Collections;

public class Consumable : KnapsackGood
{
    public int HP { get; set; }
    public int MP { get; set; }

    public Consumable()
    { 
    }

    public Consumable(int hp,int mp,BaseProperty property):base(property)
    {
        this.HP = hp;
        this.MP = mp;
    }

	public override string GetDescribe()
	{
		string baseDescribe = base.GetDescribe();

		string consumabelDescribe = string.Format("{0}\n\n<color=blue>加血：{1}\n加蓝：{2}</color>", baseDescribe, HP, MP);

		return consumabelDescribe;
	}
}
